package com.example.common.Interface.user.service;

import java.util.List;

public interface RolePermissionService {
    boolean deletePermission(Long permissionId);
    boolean assignPermissionsToRole(Long roleId, List<Long> permissionIds);

    List<String> getPermissionsByRoleId(Long roleId);
    boolean assignRolesToUser(Long userId, List<Long> roleIds);
    boolean deleteRole(Long roleId);

    List<String> getPermissionsByUserId(Long userId);

    List<String> getRolesByUserId(Long userId);
}
